package com.m4f.city.web.form;

import com.m4f.city.business.domain.InternalUser;

public class UserForm {
	
	/*Fields with validation.*/
	private String email;
	private String password;
	private String name;
	private InternalUser user;
	
	public UserForm() {
		
	}
	
	public UserForm(InternalUser user) {
		this();
		this.user = user;
	}
	
	public InternalUser getUser() {
		return this.user;
	}
	
	public void setUser(InternalUser u) {
		this.user = u;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPassword() {
		return password;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
}